import request from '@/utils/request'
//勋章分组
export function medal_listAll(query) {
    return request({
        url: '/api/medal/listAll',
        method: 'post',
        data: query
    })
}

export function medal_list(query) {
    return request({
        url: '/api/medal/list',
        method: 'post',
        data: query
    })
}

export function medal_save(query) {
    return request({
        url: '/api/medal/save',
        method: 'post',
        data: query
    })
}

export function medal_edit(query) {
    return request({
        url: '/api/medal/edit',
        method: 'post',
        data: query
    })
}

export function medal_delete(query) {
    return request({
        url: '/api/medal/delete',
        method: 'post',
        data: query
    })
}